3.2.4 Factor
There are several ways to perform factoring in Myron. Polynomials can be factored symbolically by Polynomials Factor (not to be confused with the factoring described in this section) and numerically by Expressions Newton . Both make use of Polynomial Division . This page starts with the simplest way, using Factor on the fast-action bar.
Factor performs different operations depending on whether the subject is primary, unary or binary.
If the subject is an integer, factor will attempt to find the integer
factors of the subject and will result in a product of integers representing
those factors. For example, factoring 12345678905 results in
If the subject is a unary negation, factoring produces the product of -1 with the
absolute value of the subject. That is,
If the subject is a binary operator, factor uses the
rightmost operand to supply a
For example, in
If the subject is a matrix, Factor performs LU-decomposition to produce a lower-diagonal and upper-diagonal matrix whose matrix product is the same as the original.
Try factoring the following expressions. Also try using Simplify and other manipulations to get back the original expression.
12 (then try to recombine the factors so you have 4*3)4⋅x^2+2⋅x 2⋅x+4⋅x^2 3⋅y^2+12⋅y (hint, factor 12 first)12⋅y+3⋅y^2 x^2+4⋅x+3 (see §3.4.7 Polynomial Division)[(1, 2), (4, 3)] [(10, 10, 71), (5, 1, 3), (, -15, 1, 6)]